# -*- coding: utf-8 -*-

# Created: Tue Dec 13 10:04:59 2011
#      by: PyQt4 UI code generator 4.8.5
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

from images import images_rc


try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s


class UiSearchDb(object):


    def __init__(self):
        """
        
        """
        self.iconImage()


    def iconImage(self):
        """
            Carrega os icones dos botoes da tela principal.
        """
        self.pushButtonPesquisarIcon = QtGui.QIcon(":/vna-icon/ok.png")
        self.pushButtonVisualizarIcon = QtGui.QIcon(
                                            ":/vna-icon/visualizarPedido.png")
        
    
    def setupUi(self, Dialog):
        """
        
        """
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(674, 700)
        
        sizePolicy = QtGui.QSizePolicy(
                                       QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(200)
        sizePolicy.setVerticalStretch(200)
        sizePolicy.setHeightForWidth(Dialog.sizePolicy().hasHeightForWidth())
        Dialog.setSizePolicy(sizePolicy)
        
        Dialog.setWindowTitle(
                              QtGui.QApplication.translate(
                              "Dialog",
                              "Dialog",
                              None,
                              QtGui.QApplication.UnicodeUTF8))
        
        self.tableWidget = QtGui.QTableWidget(Dialog)
        self.tableWidget.setGeometry(QtCore.QRect(10, 260, 651, 371))
        self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
        self.tableWidget.setColumnCount(0)
        self.tableWidget.setRowCount(0)
        
        self.line = QtGui.QFrame(Dialog)
        self.line.setGeometry(QtCore.QRect(10, 240, 661, 20))
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        
        self.groupBox = QtGui.QGroupBox(Dialog)
        self.groupBox.setGeometry(QtCore.QRect(10, 10, 311, 211))
        self.groupBox.setTitle(
                               QtGui.QApplication.translate
                               ("Dialog", 
                               "PESQUISA", 
                               None, 
                               QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setGeometry(QtCore.QRect(90, 30, 130, 20))
        
        font = QtGui.QFont()
        font.setPointSize(14)
        
        self.label.setFont(font)
        self.label.setText(
                           QtGui.QApplication.translate(
                           "Dialog",
                           "Pesquisar por:",
                           None,
                           QtGui.QApplication.UnicodeUTF8))
        self.label.setObjectName(_fromUtf8("label"))
        
        self.comboBoxPesquisar = QtGui.QComboBox(self.groupBox)
        self.comboBoxPesquisar.setGeometry(QtCore.QRect(50, 70, 211, 25))
        self.comboBoxPesquisar.setObjectName(_fromUtf8("comboBoxPesquisar"))
        
        self.pushButtonPesquisar = QtGui.QPushButton(self.groupBox)
        self.pushButtonPesquisar.setGeometry(QtCore.QRect(100, 110, 100, 41))
        self.pushButtonPesquisar.setMouseTracking(True)
        self.pushButtonPesquisar.setObjectName(_fromUtf8("pushButtonPesquisar"))
        self.pushButtonPesquisar.setIconSize(QtCore.QSize(32, 32))
        self.pushButtonPesquisar.setIcon(
                                         QtGui.QIcon(
                                         self.pushButtonPesquisarIcon))
        
        self.groupBox_2 = QtGui.QGroupBox(Dialog)
        self.groupBox_2.setGeometry(QtCore.QRect(340, 10, 321, 211))
        self.groupBox_2.setTitle(
                                 QtGui.QApplication.translate(
                                 "Dialog", 
                                 "PESQUISA",
                                 None, 
                                 QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        
        self.label1 = QtGui.QLabel(self.groupBox_2)
        self.label1.setGeometry(QtCore.QRect(30, 70, 151, 16))
        
        font = QtGui.QFont()
        font.setPointSize(12)
        
        self.label1.setFont(font)
        self.label1.setText(
                            QtGui.QApplication.translate(
                            "Dialog",
                            "TextLabel",
                            None, 
                            QtGui.QApplication.UnicodeUTF8))
        self.label1.setObjectName(_fromUtf8("label1"))
        
        self.lineEdit1 = QtGui.QLineEdit(self.groupBox_2)
        self.lineEdit1.setGeometry(QtCore.QRect(230, 70, 71, 20))
        self.lineEdit1.setObjectName(_fromUtf8("lineEdit1"))
        
        self.label2 = QtGui.QLabel(self.groupBox_2)
        self.label2.setGeometry(QtCore.QRect(30, 110, 151, 16))
        
        font = QtGui.QFont()
        font.setPointSize(12)
        
        self.label2.setFont(font)
        self.label2.setText(
                            QtGui.QApplication.translate(
                            "Dialog",
                            "TextLabel",
                            None,
                            QtGui.QApplication.UnicodeUTF8))
        self.label2.setObjectName(_fromUtf8("label2"))
        
        self.lineEdit2 = QtGui.QLineEdit(self.groupBox_2)
        self.lineEdit2.setGeometry(QtCore.QRect(230, 110, 71, 20))
        self.lineEdit2.setObjectName(_fromUtf8("lineEdit2"))
        
        self.treeWidget = QtGui.QTreeWidget(self.groupBox_2)
        self.treeWidget.setGeometry(QtCore.QRect(20, 20, 281, 181))
        self.treeWidget.setObjectName(_fromUtf8("treeWidget"))
        self.treeWidget.headerItem().setText(
                                             0,
                                             _fromUtf8(
                                             "              Faixas de Frequências"))
        
        self.pushButtonVisualizar = QtGui.QPushButton(Dialog)
        self.pushButtonVisualizar.setGeometry(QtCore.QRect(590, 640, 71, 51))
        self.pushButtonVisualizar.setText(
                                          QtGui.QApplication.translate(
                                          "Dialog",
                                          "",
                                          None,
                                          QtGui.QApplication.UnicodeUTF8))
        self.pushButtonVisualizar.setIconSize(QtCore.QSize(32, 32))
        self.pushButtonVisualizar.setIcon(
                                         QtGui.QIcon(
                                         self.pushButtonVisualizarIcon))

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
        
        self.dialog = Dialog



    def retranslateUi(self, Dialog):
        """
        
        """
        Dialog.setWindowTitle(
                              QtGui.QApplication.translate(
                              "Dialog",
                              "TSM - Pesquisa",
                              None, 
                              QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
                           QtGui.QApplication.translate(
                           "Dialog",
                           "Pesquisar por:",
                           None,
                           QtGui.QApplication.UnicodeUTF8))
        self.pushButtonPesquisar.setToolTip(
                                            QtGui.QApplication.translate(
                                            "Dialog",
                                            "Pesquisar",
                                            None,
                                            QtGui.QApplication.UnicodeUTF8))
                                            
        self.pushButtonVisualizar.setToolTip(
                                            QtGui.QApplication.translate(
                                            "Dialog",
                                            "Visualizar",
                                            None,
                                            QtGui.QApplication.UnicodeUTF8))
